function EFFECT:Init(ed)

	local vOrig = ed:GetOrigin()
	
	local pe = ParticleEmitter(vOrig)
	

	
	for i= 1, math.random(13, 14) do

		local part = pe:Add("sprites/glow04_noz", vOrig)

		if (part) then

			part:SetColor(255, 155, 0, math.random(150, 255))
			part:SetVelocity(VectorRand():GetNormal() * math.random(0, 5))
			part:SetRoll(math.Rand(0, 0))
			part:SetRollDelta(math.Rand(0, 0))
			part:SetDieTime(0.6)
			part:SetLifeTime(0)
            part:SetGravity( Vector( 0, 0, -100 ) );
			part:SetStartSize(math.random(350,460))
			part:SetEndSize(0)
            part:SetCollide( false );
			part:SetEndAlpha(0)

		end

	end	
	
	for i= 1, math.random(6, 8) do

		local part = pe:Add("sprites/glow04_noz", vOrig)

		if (part) then

			part:SetColor(255, 155, 0, math.random(150, 255))
			part:SetVelocity(Vector( math.Rand(-100,100),math.Rand(-100,100),math.Rand(400,500)))
			part:SetRoll(math.Rand(0, 0))
			part:SetRollDelta(math.Rand(0, 0))
			part:SetDieTime(1)
			part:SetLifeTime(0)
            part:SetGravity( Vector( 0, 0, -100 ) );
			part:SetStartSize(math.random(150,260))
			part:SetEndSize(0)
            part:SetCollide( false );
			part:SetEndAlpha(0)

		end

	end	
	
	for i= 1, math.random(15, 20) do

		local part = pe:Add("sprites/flamelet1", vOrig)

		if (part) then

			part:SetColor(255, math.Rand(150,210), 50, math.random(150, 255))
			part:SetVelocity(VectorRand():GetNormal() * math.random(480, 585))
			part:SetRoll(math.Rand(0, 360))
			part:SetRollDelta(math.Rand(-2, 2))
			part:SetDieTime(1)
			part:SetLifeTime(0)
            part:SetGravity( Vector( 0, 0, -25 ) );
			part:SetStartSize(math.random(24, 55))
			part:SetEndSize(0)
            part:SetCollide( true );
            part:SetBounce( 1 );
			part:SetEndAlpha(0)

		end

	end	
	
		for i= 1, math.random(8, 10) do

		local part = pe:Add("particle/particle_smokegrenade", vOrig)

		if (part) then

			part:SetColor(255, 255, 255, math.random(150, 255))
			part:SetVelocity(VectorRand():GetNormal() * math.random(5, 35))
			part:SetRoll(math.Rand(0, 360))
			part:SetRollDelta(math.Rand(-1, 1))
			part:SetDieTime(2)
			part:SetLifeTime(0)
            part:SetGravity( Vector( 0, 0, 0 ) );
			part:SetStartSize(math.random(55, 75))
			part:SetEndSize(125)
            part:SetCollide( false );
			part:SetEndAlpha(0)

		end

	end	
	
		for i= 1, math.random(10, 15) do

		local part = pe:Add("particle/particle_smokegrenade", vOrig)

		if (part) then

			part:SetColor(255, 255, 255, math.random(150, 255))
			part:SetVelocity(VectorRand():GetNormal() * math.random(100, 200))
			part:SetRoll(math.Rand(0, 360))
			part:SetRollDelta(math.Rand(-1, 1))
			part:SetDieTime(1.5)
			part:SetLifeTime(0)
            part:SetGravity( Vector( 0, 0, 255 ) );
			part:SetStartSize(math.random(5, 15))
			part:SetEndSize(125)
            part:SetCollide( false );
			part:SetEndAlpha(0)

		end

	end	

	
	
	pe:Finish()
	

				    

end

function EFFECT:Think()

	return false
	
end

function EFFECT:Render()
end